<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>工厂商品销量</title>

<body class="withvernav">
<div class="bodywrapper">
{{include file='/public/leftmenu.tpl'}}
<div class="centercontent tables">
  <div class="pageheader notab">
    <h1 class="pagetitle">工厂商品销量</h1>
    
     <div class="menulist">
        		<ul class="profile_summary">
                    </ul>
               </div>
    
     </div>
  <!--pageheader-->
  <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
  <div id="contentwrapper" class="contentwrapper"> 
    <!--搜索栏-->
    <form class="stdform stdform2" method="get" action="/goodsreport/showreport">
      <div class="tableoptions"> 
       关键词: <input type="text" name="other" id="other" class="width100" value="{{$other}}" />
        天数:  <select name="d" id="d"  class="selection " style="width:150px;" >
            <option value="1" {{if $d==1}} selected{{/if}}>7天</option>
            <option value="2" {{if $d==2}} selected{{/if}}>30天</option>
            <option value="3" {{if $d==3}} selected{{/if}}>60天</option>
            </select>
          销量: <input type="text" name="sales" id="sales" class="width100" value="{{$sales}}" />
        &nbsp;
        版型：
        <select class="selectCss2" name="model" id="model">
          <option value="">请选择</option>
          <option value="1" {{if $model eq 1}}selected{{/if}}> 欧美 </option>
          <option value="2" {{if $model eq 2}}selected{{/if}}> 亚洲 </option>
        </select>

        &nbsp;
        <button class="btn btn_orange btn_search radius50">Search</button>
        
      </div>
    </form>
    <!--搜索栏结束-->
     <div class="x_content" style="overflow-x:auto;">
    <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
      <colgroup>
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      </colgroup>
      <thead>
        <tr>
          <th class="head0">NO</th>
          <th class="head0">商品编号</th>
          <th class="head1">商品名称</th>
          <th class="head0">版型</th>
          <th class="head1">尺码</th>
          <th class="head0">性别</th>
          <th class="head0">
          
          <a href="/goodsreport/showreport?by=num1&ordery={{$orderyts}}">{{$days1}}天销量</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderyts=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span>
          </th>
          <th class="head0">
          <a href="/goodsreport/showreport?by=num2&ordery={{$orderyts}}">{{$days2}}天销量</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderyts=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span>
          </th>
          <th class="head0"><a href="/goodsreport/showreport?by=num3&ordery={{$orderyts}}">{{$days3}}天销量</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderyts=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span></th>
        
        </tr>
      </thead>
      <tbody>
      
      {{foreach from=$list item=li key=key}}
      <tr>
        <td>{{$li.id}}</td>
        <td><a href="/goodsreport/showreport?other={{$li.goos_sku}}" target="_blank"><font color="blue">{{$li.goos_sku}}</font></a></td>
        <td>{{$li.goods_name}}</td>
        <td>
        {{if $li.custom==2}}定制{{/if}}
        
        {{if $li.model==1}}欧美{{/if}}
        {{if $li.model==2}}亚洲{{/if}}
        {{if $li.model==3}}通用{{/if}}</td>
        <td class="center">{{if $li.custom==2}}定制{{/if}}
        {{if $li.custom==1}}{{$li.size}}{{/if}}
        </td>
        <td class="center">{{if $li.gender==1}}男{{/if}}
        {{if $li.gender==2}}女{{/if}} {{if $li.gender==3}}通用{{/if}}</td>
        <td class="center">{{$li.num1}}</td>
        <td class="center">{{$li.num2}}</td>
        <td class="center">{{$li.num3}}</td>
       
      </tr>
      {{/foreach}}
        </tbody>
      
    </table>
    </div>
    <div class="page">{{$pageList}}</div>
    <br />
    <br />
  </div>
</div>
<!--bodywrapper-->

</body>
</html>